#define _CRT_SECURE_NO_WARNINGS
#include"sort.h"

void TextMergeSort()
{
	int a[] = { 33,55,44,99,88,77,11,22,66 };
	int sz = sizeof(a) / sizeof(int);
	MergeSort(a, sz );
	Print(a, sz);
}

void TextQuickSort()
{
	int a[] = { 33,55,44,99,88,77,11,22,66 };
	int sz = sizeof(a) / sizeof(int);
	Qsortother(a, 0,sz-1);
	Print(a, sz);
}


void TextBubblesort()
{
	int a[] = { 33,55,44,99,88,77,11,22,66 };
	int sz = sizeof(a) / sizeof(int);
	BubbleSort(a, sz);
	Print(a, sz);
}
void TextSelectSort()
{
	int a[] = { 100,55,44,99,88,77,11,22,66 };
	int sz = sizeof(a) / sizeof(int);
	SelectSort(a, sz);
	Print(a, sz);
}
void TextSeerSort()
{
	int a[] = {9,8,7,6,5,4,3,2,1 };

	int sz = sizeof(a) / sizeof(int);
	SeerSort(a, sz);
	Print(a, sz);
}
void TextInsertSort()
{
	int a[] = { 33,55,44,99,88,77,11,22,66 };

	int sz = sizeof(a) / sizeof(int);
	InsertSort(a, sz);
	Print(a, sz);
}


int main()
{
	TextMergeSort();
	//TextSelectSort();
	//TextInsertSort();
	return 0;
}